package com.core.reach.oauth2server.domain;

import lombok.Data;
import lombok.ToString;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.io.Serializable;

/**
 * @author Mr_zhangmu
 * @version V1.0
 * @description: TODO
 * @date 2020/6/19 15:47
 **/
@Data
@Entity
@ToString
public class ClientInfo implements Serializable {

    private static final long serialVersionUID = 4841730921684554883L;

    @Id
    private Long id;

    private String clientId;

    private String clientSecret;

    private String redirectUri;

    private String authorizedGrantTypes;

    private String scopes;

    private int accessTokenValidity;

    private int refreshTokenValidity;

}
